package com.java.shop.order.feign;

import com.java.shop.order.vo.SpuInfoVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

@FeignClient("shop-product")
public interface ProductFeignService {
    @PostMapping("/product/spuinfo/getSpuInfo")
    Map<Long, SpuInfoVo> getSpuInfo(@RequestBody List<Long> skuIds);
}
